<include file="public@head"/>

<div class="list-page">
    <div class="wrap-box">
        <div class="detail-container">
            <div class="current-position">
                <span>您当前所在的位置：</span>
                <span> <a href="__ROOT__">首页</a> >> </span>

                <portal:breadcrumb cid="$category['id']" self="true">
                    <span><a href="{:url('portal/List/index',['id'=>$vo['id']])}">{$vo.name}</a> >> </span>
                </portal:breadcrumb>
                <span>{$article.post_title}</span>
            </div>

            <div class="post-detail">
                <div class="title">
                    <h2>{$article.post_title}</h2>
                </div>
                <div class="date">{$article.update_time|date="Y-m-d",###}</div>
                <div class="content">
                    {$article.post_content}
                </div>
            </div>


            <div class="post-other">
                <div class="another-list">
                    <div class="other-item">
                        <div class="other-title">相关文档</div>
                        <ul>
                            <volist name="relationList" id="vo">
                            <li><a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id']))}">{$vo.post_title}</a></li>
                            </volist>
                            <empty name="relationList">暂无</empty>

                        </ul>
                    </div>

                </div>

                <div class="attachlist">
                    <div class="other-item">
                        <div class="other-title">相关附件</div>
                        <ul>
                            <volist name="attachList" id="vo">
                                <li><a href="/upload/{$vo.url}">{$vo.name}</a></li>
                            </volist>
                            <empty name="attachList">暂无</empty>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="c"></div>
        </div>
    </div>
    <div class="c"></div>
</div>

<include file="public@footer"/>


<script>
    $(function() {
        $(".other-title").click(function() {
            $(this).next().toggle();
        })
    })
</script>

</body>

</html>